package com.hzgj.soa.service;

import com.hzgj.bcl.annotations.Comment;

/**
 * Created by ye.pan on 2015/6/10.
 */
@Comment("用户相关服务(用户登录、登出、获取用户信息、送花)")
public interface UserService {

    @Comment(value = "用户登录", ret = "登录受否成功", params = {"用户信息"})
    boolean login(User user);

    @Comment(value = "用户登出", ret = "登出是否成功")
    boolean logout();

    @Comment(value = "获取用户信息", ret = "用户信息", params = {"用户名"})
    UserInfo getUserInfo(String userName);

    @Comment(value = "送花", params = {"用户ID"})
    void sendFlower(int who);
}
